import Vue from 'vue'
import VueRouter from 'vue-router'

import Home from '../views/Home/index.vue'
import Login from '../views/Login/index.vue'

Vue.use(VueRouter);
export default new VueRouter({
    //使用routes配置项配置路由表
    routes:[
        {
            path:"/home",
            component:Home
        },
        {
            path:"/Login",
            component:Login
        }
    ]
})